#!/bin/sh

grep -q '/cgi-bin/nut' /etc/httpd.conf 2>/dev/null || {
	echo '/cgi-bin/nut:root:$p$root' >>/etc/httpd.conf
	/etc/init.d/uhttpd restart
}
